package com.yc.order.biz;

import com.yc.order.dao.OrderVODao;
import com.yc.vo.OrderVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderVOBizImpl implements OrderVOBiz{
    @Autowired
    private OrderVODao orderVODao;
    @Override
    public List<OrderVO> searchOrderInfos(OrderVO orderVO, Integer pageNum, Integer pageSize) {
        List<OrderVO> list = orderVODao.searchOrderInfos(orderVO,1,3);
        System.out.println(list);
        return list;
    }
}
